package com.tencent.iov.cowin.befsale.clue.service.clue.impl;

import com.tencent.iov.cowin.befsale.clue.domain.clue.po.ClueLog;
import com.tencent.iov.cowin.befsale.clue.repository.clue.ClueFailManager;
import com.tencent.iov.cowin.befsale.clue.repository.clue.ClueLogManager;
import com.tencent.iov.cowin.befsale.clue.service.clue.ClueLogService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Describe: 线索日志表_Service接口层
 * @author: zly
 * @created: 2022-02-27
 * @version: 1.0
 */
@Service
@Slf4j
public class ClueLogServiceImpl implements ClueLogService {

    @Autowired
    private ClueLogManager clueLogManager;

    /**
     * 单条数据插入线索日志
     * add by zly 2022-02-27
     * @param request
     * @return 插入的条数
     */
    @Override
    public void insert(ClueLog request) {
        clueLogManager.insert(request);
    }

    /**
     * 单条修改线索日志
     * add by zly 2022-02-27
     * @param request
     * @return
     */
    @Override
    public void updateById(ClueLog request) {
        clueLogManager.updateById(request);
    }
}
